package org.xiaoxiao.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

import java.util.List;

@Data
@JacksonXmlRootElement(localName = "book-vote-system")
public class VoteSystemData {
    @JacksonXmlProperty(localName = "admin")
    private AdminAccount admin;

    private List<Book> books;

    @JacksonXmlProperty(localName = "vote-records")
    private List<VoteRecord> voteRecords;

    // 无参构造器 + Getter/Setter
}